<?php

namespace App\Admin\Controllers;

use App\Models\UserModel;
use Encore\Admin\Controllers\AdminController;
use Encore\Admin\Form;

class BaseController extends AdminController
{
    /**
     * Make a form builder.
     * @return Form
     */
    protected function form(): Form
    {
        $form = new Form(new UserModel);
        $form->display('id', __('ID'));
        return $form;
    }
}
